<?php
/**
 * Created by PhpStorm.
 * User: xmy2
 * Date: 18-8-9
 * Time: 上午11:39
 */

return [
    'route' => [
        'base' => [
            'controller' => 'index',
            'module' => 'index',
            'action' => 'index',
        ],
        'type' => 'pathinfo', // pathinfo or ....
        'query'   => 'do',
        // 连接符号
        'url_esp' => '/',
        // 伪装静态
        'url_html_suffix' => '.html'
    ],
    'tpl' => [
        'static_tag' => [
            'public' => '/public/',
            'version' => '1.0.0'
        ]
    ],// 路由类型 path:pathinfo模式 query get参数模式
    'url_link_type' => 'R', // R 代表驼峰形式 其他字符为连接符号
    'database' => [
        'db_type' => 'mysql',
        'db_host' => '127.0.0.1',
        'db_user' => 'root',
        'db_pwd'  => 'aa1522',
        'db_name' => 'yangcms',
        'db_charset' => 'utf8',
        'db_port'  => 3306,
        'db_prifx' => ''
    ],
    // session保存时间
    'session_life' => 600,
    // session 前缀
    'session_prefix' => 'yycms_'
];